def filter_reverse(request, url):
    filter_string = request.GET.get('_filter')
    if not filter_string:
        return url
    record_url = '{}?{}'.format(url, filter_string)
    return record_url
